package com.demo.mapper;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.demo.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface UserMapper {

    List<User> findUserByName(String name);

    public IPage<User> ListUser(IPage<User> page);

    public int insertUser(User user);

    public int delete(int id);

    public int Update(User user);

    List<User> findUser();
}
